package com.example.demo.shmanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="shMapper")
public interface SHMapper {

    List<Map<String,Object>> queryAllSHInfosMapper(Map<String, Object> param);

    Map<String,String> queryAllSHInfosCountMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllSHCountMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllSHInfosMapperNull(Map<String, Object> param);

    Map<String,String> queryAllSHInfosCountMapperNull(Map<String, Object> param);

    List<Map<String,Object>> queryAllSHCountMapperNull(Map<String, Object> param);

    int saveSHInfoMapper(Map<String, Object> param);

    int saveUploadBookMapper(Map<String, Object> param);

    int delSHInfoMapper(Map<String, Object> param);

    int saveZWInfoMapper(Map<String, Object> param);

    Map<String,Object> querySHInfoByID(Map<String, Object> param);

    List<Map<String,Object>> querySHZWInfosByID(Map<String, Object> param);

    int delZWInfoMapper(Map<String, Object> param);

    int editSHInfoMapper(Map<String, Object> param);

    int saveUploadLicenseMapper(Map<String, Object> param);

    int saveUploadCardMapper(Map<String, Object> param);

    int saveUploadLogo(Map<String, Object> param);

    int saveProductPermise(Map<String, Object> param);

    int saveUseExplain(Map<String, Object> param);

    int saveProductPhoto(Map<String, Object> param);

    int saveHonorBook(Map<String, Object> param);

    int editZWInfoMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllZWInfosMapper(Map<String, Object> param);

    Map<String,String> queryAllZWInfosCountMapper(Map<String, Object> param);

    List<Map<String,Object>> queryBrandListByBrand(Map<String, Object> param);

    Map<String,Object> queryBrandInfosByID(Map<String, Object> tempBIDMap);

    List<Map<String,Object>> queryBrandList(Map<String, Object> param);

    List<Map<String,Object>> querySeriesByBrandName(Map<String, Object> param);

    int saveBrandAndSeries(Map<String, Object> param);

    List<Map<String,Object>> queryExistBrand(Map<String, Object> param);

    Map<String,Object> queryZwInfosByID(Map<String, Object> param);

    List<Map<String,Object>> queryUploadBookList(Map<String, Object> param);

    List<Map<String,Object>> queryLicenseList(Map<String, Object> param);

    List<Map<String,Object>> queryCardList(Map<String, Object> param);

    List<Map<String,Object>> queryZjReportList(Map<String, Object> param);

    List<Map<String,Object>> queryManageImgList(Map<String, Object> param);

    List<Map<String,Object>> queryLogoList(Map<String, Object> param);

    List<Map<String,Object>> queryProductPremiseList(Map<String, Object> param);

    List<Map<String,Object>> queryUseExplainList(Map<String, Object> param);

    List<Map<String,Object>> queryProductPhotoList(Map<String, Object> param);

    List<Map<String,Object>> queryHonorBookList(Map<String, Object> param);

    int delSHZwInfoMapper(Map<String, Object> param);

    int delSHImageInfoMapper(Map<String, Object> param);

    int delSHImage(Map<String, Object> param);

    int saveOtherInfo(Map<String, Object> param);

    Map<String,Object> queryOtherInfo(Map<String, Object> param);

    List<Map<String,Object>> queryShIsExistByCardNo(Map<String, Object> param);
}
